import { $post ,$get ,$put,$del} from "@/utils/request";

//新增账户
export let add=(param)=>{
    return $post("/account/add",param)
}

//修改银行卡
export let update=(param)=>{
    return $put("/account/update",param)
}

//del账户
export let del=(params)=>{
    return $del("/account/del",{params})
}

//修改默认账户
export let updateDefault=(param)=>{
    return $post("/account/isDefault",param)
}

//账户列表
export let list=(params)=>{
    return $get("/account/list",{params})
}

//银行账户金额调整
export let menoyType=(param)=>{
    return $post("/log/menoyType",param)
}

//交易明细
export let mxlist=(param)=>{
    return $post("/log/list",param)
}

